package com.huatai.paas.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.common.api.R;
import com.huatai.paas.dto.ModelManagement;
import com.huatai.paas.dto.ProjectManagement;
import com.huatai.paas.dto.QueryModelManagementDto;
import com.huatai.paas.dto.info.QueryModelManagementInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ModelManagementMapper extends BaseMapper<ModelManagement> {

	IPage<QueryModelManagementInfo> queryModelManagementList(@Param("page") Page<QueryModelManagementInfo> page,@Param("dto") QueryModelManagementDto dto);

	List<ModelManagement> queryModelListById(@Param("modelIdList") List<Long> modelIdList);

	QueryModelManagementInfo modelManagementDetail(@Param("modelId") Long modelId);
}
